﻿/**
* File: ITpmapppermissionsService.cs
* Author: 汪杰
* Create Time:2021-11-18 9:04:53
* Email:15200358008@139.com
* 代码由TMCodeGenerator自动生成
**/
using JSLCloud.App.Models.Tpmapppermissions;
using JSLCloud.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace JSLCloud.App.Mes.Service
{
    /// <summary>
    /// Tpmapppermissions Interface
    /// </summary>
    public interface ITpmapppermissionsService 
    {
        /// <summary>
        /// 查询Tpmapppermissions数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<List<TpmapppermissionsQueryModel>>> GetAsync(RequestGet requestObject);

        /// <summary>
        /// 查询权限信息
        /// </summary>
        /// <param name="requestObject"></param>
        /// <returns></returns>
        Task<ResponseObject<TpmapppermissionsQueryModel>> GetByRoleIdAsync(int roleId);

        /// <summary>
        /// 新增Tpmapppermissions数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<bool>> PostAsync(RequestPost<TpmapppermissionsAddModel> requestObject);
        
        /// <summary>
        /// 修改Tpmapppermissions数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<bool>> PutAsync(RequestPut<TpmapppermissionsEditModel> requestObject);
        
        /// <summary>
        /// 删除Tpmapppermissions数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<bool>> DeleteAsync(RequestDelete<DeleteModel> requestObject);
        
    }
}